import {mapState, mapMutations} from 'vuex'
export default {
    computed: {
        ...mapState('GlobalStore', ['isCollapseLeftMenu'])
    },
    methods: {
        ...mapMutations('GlobalStore', ['UPDATE_STATE']),
        __isCollapseLeftMenu(collapse) {
            const state = {
                key: 'isCollapseLeftMenu',
                value: collapse !== undefined ? collapse : false
            }
            this.UPDATE_STATE(state)
        },
    },
}